<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_ad`;");
E_C("CREATE TABLE `ecs_ad` (
  `ad_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `position_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `media_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `ad_name` varchar(60) NOT NULL DEFAULT '',
  `ad_link` varchar(255) NOT NULL DEFAULT '',
  `ad_code` text NOT NULL,
  `start_time` int(11) NOT NULL DEFAULT '0',
  `end_time` int(11) NOT NULL DEFAULT '0',
  `link_man` varchar(60) NOT NULL DEFAULT '',
  `link_email` varchar(60) NOT NULL DEFAULT '',
  `link_phone` varchar(60) NOT NULL DEFAULT '',
  `click_count` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `enabled` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`ad_id`),
  KEY `position_id` (`position_id`),
  KEY `enabled` (`enabled`)
) ENGINE=MyISAM AUTO_INCREMENT=256 DEFAULT CHARSET=utf8");
E_D("replace into `ecs_ad` values('11','3','0','首页幻灯片下广告1（宽）','','1411841749070306363.jpg','1399276800','2147483647','','','','1','1');");
E_D("replace into `ecs_ad` values('88','22','0','首页幻灯片区域（宽）','','1411843048554035712.jpg','1411804800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('194','127','0','头部广告位','','1413150619029946872.jpg','1413100800','2147483647','','','','4','1');");
E_D("replace into `ecs_ad` values('195','128','0','banner大幅广告位','','1413311503526908959.jpg','1413273600','2147483647','','','','12','1');");
E_D("replace into `ecs_ad` values('196','129','0','今日推荐广告位1','','1418683882177851099.jpg','1413273600','2147483647','赋予永恒美丽的盛礼','','','2','1');");
E_D("replace into `ecs_ad` values('197','129','0','今日推荐广告位2','','1418685133611181518.jpg','1413273600','2147483647','雅思兰黛品牌团','','','4','1');");
E_D("replace into `ecs_ad` values('198','129','0','今日推荐广告位3','','1418685315586261423.jpg','1413273600','2147483647','#这就是我#三叶草品牌团','','','0','1');");
E_D("replace into `ecs_ad` values('199','129','0','今日推荐广告位4','','1418685515043387747.png','1413273600','2147483647','美即品牌团','','','3','1');");
E_D("replace into `ecs_ad` values('200','129','0','今日推荐广告位5','','1418685603878792853.png','1413273600','2147483647','CHARLES&KEITH品牌团','','','1','1');");
E_D("replace into `ecs_ad` values('201','129','0','今日推荐广告位6','','1418685654928290536.jpg','1413273600','2147483647','美宝莲品牌团','','','0','1');");
E_D("replace into `ecs_ad` values('205','138','0','上新单品广告位1','','1419188225484815910.png','1413360000','2147483647','25年的眼霜尖端神话，新版小棕瓶！雅诗兰黛 (Estee Lauder)肌透修护眼部精华霜 15ml，精华级深透修护！','','','1','1');");
E_D("replace into `ecs_ad` values('206','138','0','上新单品广告位2','','1419191651163508676.png','1413360000','2147483647','卸妆胜过保养，残留等于毁容！日本火到港台，超劲爆性价口碑，卸妆皇后ALOVIVI卸妆液500ml，速融净妆！','','','4','1');");
E_D("replace into `ecs_ad` values('207','138','0','上新单品广告位3','','1419196849408457645.png','1413360000','2147483647','缔造晶莹剔透奇迹的肌肤营养专家！SK-II护肤精华露150ml，奥斯卡影后凯特·布兰切特的生活必需品！','','','1','1');");
E_D("replace into `ecs_ad` values('208','138','0','上新单品广告位4','','1419197165110536734.png','1413360000','2147483647','倩碧(Clinique)明肌净透水2号200ml，含15%不伤害皮肤的高级化妆水专用酒精，有效深层清洁皮肤，除去干枯的角','','','0','1');");
E_D("replace into `ecs_ad` values('209','138','0','上新单品广告位5','','1419197434400766003.png','1413360000','2147483647','拒绝做“国宝”，还我明眸好气色！博姿（Boots）清爽保湿眼胶，畅销英国享誉全球的平价美眼神品','','','0','1');");
E_D("replace into `ecs_ad` values('210','138','0','上新单品广告位6','','1419197550940493692.png','1413360000','2147483647','最新上市新品系列-恐龙广场。 恐龙时代突袭而来！想拥有楚楚动人、更加迷人的双眼吗？','','','1','1');");
E_D("replace into `ecs_ad` values('211','138','0','上新单品广告位7','','1419197725765922567.png','1413360000','2147483647','【跑男上镜必备】康熙来了热门推荐！SEXYLOOK 纯棉黑面膜系列极美肌深层修护纯棉黑面膜28ml*5片，萃取来自火山中','','','1','1');");
E_D("replace into `ecs_ad` values('212','138','0','上新单品广告位8','','1419197837490283535.png','1413360000','2147483647','瘦瘦瘦…受够了折磨？想要好身材，先要减肚腩！mymi溶脂瘦肚子大肚子贴 一盒5片，轻松一贴，8小时急速溶脂，不再“瘦”折','','','1','1');");
E_D("replace into `ecs_ad` values('215','148','0','美妆品牌团左侧广告位','','1413416207154497598.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('216','149','0','美妆品牌团右侧广告位1','','1413416465988417546.jpg','1413360000','2147483647','','','','1','1');");
E_D("replace into `ecs_ad` values('217','150','0','美妆品牌团右侧广告位2','','1413416501436028604.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('218','151','0','美妆品牌团右侧广告位3','','1413416543254789159.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('219','152','0','美妆品牌团右侧广告位4','','1413416619606040964.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('220','153','0','内衣品牌左侧广告位','','1413419506111620007.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('221','154','0','内衣品牌团右侧广告位1','','1413419816114456318.jpg','1413360000','2147483647','','','','4','1');");
E_D("replace into `ecs_ad` values('222','155','0','内衣品牌团右侧广告位2','','1413419856248271127.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('223','157','0','内衣品牌团右侧广告位4','','1413419909323441168.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('224','156','0','内衣品牌团右侧广告位3','','1413420107514917096.jpg','1413360000','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('225','158','0','鞋包品牌团左侧广告位','','1414001842700723977.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('226','159','0','鞋包品牌团右侧广告位1','','1414002106577385105.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('227','160','0','鞋包品牌团右侧广告位2','','1414002151604817259.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('228','161','0','鞋包品牌团右侧广告位3','','1414002240508546660.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('55','9','0','内衣/配饰抢购活动广告','','1399319643311328937.jpg','1399276800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('67','13','0','分类页左侧广告','','1399844425008447797.jpg','1399795200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('86','20','0','首页幻灯片区域（宽）2','','1411842396676930941.jpg','1411804800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('87','21','0','首页幻灯片区域（宽）3','','1411843517517366288.jpg','1411804800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('229','162','0','鞋包品牌团右侧广告位4','','1414016873254978790.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('230','163','0','居家品牌团左侧广告位','','1414024216767967965.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('231','164','0','居家品牌团右侧广告位1','','1414024280843328229.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('232','165','0','居家品牌团右侧广告位2','','1414024412337399898.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('233','166','0','居家品牌团右侧广告位3','','1414024519748347886.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('234','167','0','居家品牌团右侧广告位4','','1414024692529797992.jpg','1413964800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('235','168','0','顶级分类页banner广告位1','','1414364729106080356.jpg','1414310400','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('236','169','0','顶级分类页banner广告位2','','1414364827765076124.jpg','1414310400','2147483647','','','','4','1');");
E_D("replace into `ecs_ad` values('237','170','0','顶级分类页banner广告位3','','1414364876445241249.jpg','1414310400','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('238','171','0','顶级分类页banner广告位4','','1414364965130910211.jpg','1414310400','2147483647','','','','1','1');");
E_D("replace into `ecs_ad` values('239','172','0','顶级分类页banner广告位5','','1414365006194293245.jpg','1414310400','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('240','173','0','顶级分类页banner广告位6','','1414365079844036282.jpg','1414310400','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('241','174','0','顶级分类页品牌墙广告位1','','1414435611716815961.jpg','1414396800','2147483647','','','','2','1');");
E_D("replace into `ecs_ad` values('242','175','0','顶级分类页品牌墙广告位2','','1414436960269614637.jpg','1414396800','2147483647','','','','2','1');");
E_D("replace into `ecs_ad` values('243','176','0','顶级分类页品牌墙广告位3','','1414437204704379718.jpg','1414396800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('244','177','0','顶级分类页品牌墙广告位4','','1414437264748817301.jpg','1414396800','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('245','178','0','洗发护发广告1','','1416266221986677394.jpg','1416211200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('246','179','0','洗发护发广告2','','1416267788817982966.jpg','1416211200','2147483647','','','','1','1');");
E_D("replace into `ecs_ad` values('249','182','0','身体清洁广告1','','1417130449055956493.jpg','1417075200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('250','183','0','身体清洁广告2','','1417130501061438081.jpg','1417075200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('251','184','0','口腔护理广告1','','1417130595617686173.jpg','1417075200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('252','185','0','口腔护理广告2','','1417130663473867555.jpg','1417075200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('253','186','0','女性护理广告1','','1417130758544334121.jpg','1417075200','2147483647','','','','0','1');");
E_D("replace into `ecs_ad` values('254','187','0','女性护理广告2','','1417130806141388524.jpg','1417075200','2147483647','','','','0','1');");

require("../../inc/footer.php");
?>